ti: k3: common: Enable interrupts before entering standby state
authorAndrew F. Davis <[email protected]>
Mon, 25 Jun 2018 17:36:25 +0000 (12:36 -0500)
committerAndrew F. Davis <[email protected]>
Fri, 29 Jun 2018 21:49:21 +0000 (16:49 -0500)
commitdeed2b8398ced11d72d90f4811024a5a99dde953
tree7e1cc9d1dfff0d875be85fdf3ef627abe43a1949
parent79a1a84957f65dab7a3d535a7f6df392884e157d
ti: k3: common: Enable interrupts before entering standby state

To wake a core from wfi interrupts must be enabled, in some cases they
may not be and so we can lock up here. Unconditionally enable interrupts
before wfi and then restore interrupt state.

Signed-off-by: Andrew F. Davis <[email protected]>
plat/ti/k3/common/k3_psci.c